package com.miyu.system.pojo.system;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 登录日志;
 * @author : miyu
 * @date : 2022-9-30
 */
@ApiModel(value = "登录日志",description = "")
@Data
@Entity
@Table(name="sys_login_log")
public class SysLoginLog implements Serializable,Cloneable{
    /** 主键 */
    @Id
    @ApiModelProperty(name = "主键",notes = "")
    @Column(name = "log_id", nullable = false, length =32 )
    private String logId ;
    /** 操作人 */
    @ApiModelProperty(name = "操作人",notes = "")
    @Column(name = "oper_user", nullable = true, length =90 )
    private String operUser ;
    /** 操作接口 */
    @ApiModelProperty(name = "操作接口",notes = "")
    @Column(name = "oper_api", nullable = true, length =255 )
    private String operApi ;
    /** 操作Ip */
    @ApiModelProperty(name = "操作Ip",notes = "")
    @Column(name = "oper_ip", nullable = true, length =90 )
    private String operIp ;
    /** 操作日期 */
    @ApiModelProperty(name = "操作日期",notes = "")
    @Column(name = "oper_date", nullable = true )
    private Date operDate ;
    /** 操作状态 */
    @ApiModelProperty(name = "操作状态",notes = "")
    @Column(name = "oper_stuts", nullable = true, length =90 )
    private String operStuts ;
}
